package com.wenwen.social.controller;

import com.wenwen.social.controller.vo.ResultVO;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class LoginController extends BaseController{

	/**
	 * 用于测试
	 * @param uid
	 * @return
	 */
	@PostMapping("/login")
	public ResultVO login(Long uid){
		 setCurrLoginUser(uid);
		 return  ResultVO.success("ok");
	}
}
